package com.flank.weather.logic.network

import com.flank.weather.App
import com.flank.weather.logic.model.PlaceResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * Created by 2021/9/1
 * Email 270554501@qq.com
 * Author Flank
 * 天气位置服务接口
 */
interface PlaceService {

    @GET("v2/place?token=${App.TOKEN}&lang=zh_CN")
    fun searchPlaces(@Query("query") query: String): Call<PlaceResponse.PlaceResponse>

}